package com.moonciki.artadmin.web.service.sys.impl;

import com.moonciki.artadmin.core.base.BaseServiceImpl;
import com.moonciki.artadmin.web.service.sys.SystemScheduledService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author 岳仕奇
 * @description: 系统线程
 * @date 2021/10/19 11:52
 */
@Slf4j
@Service
public class SystemScheduledServiceImpl extends BaseServiceImpl implements SystemScheduledService {

    /**
     * 配置线程是否初始化
     */
    private volatile static boolean config_init = false;

    @Override
    public synchronized void initConfigThread(){

        if(config_init){
            log.info("ConfigThread_already_inited!");
        }else{
        }

        config_init = true;
    }

}
